﻿using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;

namespace Sripirom.ATS.Core.Configuration
{                                    
    public class ApplicationConstant
    {
        /** NAMESPACE
         * suffix: _NS **/
        ///<remarks>
        ///Format   : www.kiatnakinbank.com/services/[solutionName]/[operationName]
        ///</remarks>
        public const string EMPTY_NS = "";
        public const string INQUIRY_PERSON_INFO_NS = "www.kiatnakinbank.com/services/v0.0.1";

        /** XML ELEMENT WRAPPER NAME
         * suffix: _WR **/
        public const string RESPONSE_HEADER_WR = "header";
        public const string RESPONSE_DETAIL_WR = "detail";
        public const string RESPONSE_STATUS_WR = "status";

        public const string TOKEN_KEY = "2343fj4544sd";

        public const string SYSTEM_USER = "SYSTEM";

        public const string BANK_KK = "BANK_KK";


        public static readonly DateTimeFormatInfo TH_DTFI = new CultureInfo(StringFormats.FORMAT_CULTURE_THTH, false).DateTimeFormat; // For Buddhist calendar (BE) ex. 2558
        public static readonly DateTimeFormatInfo EN_DTFI = new CultureInfo(StringFormats.FORMAT_CULTURE_ENUS, false).DateTimeFormat; // For Before Christ (BC) ex. 2015

        public const string FORMAT_DATETIME_YYYYMMDD_DASH = "yyyy-MM-dd";
        public const string FORMAT_DATETIME_YYYYMMDDHHMMSS_DASH_COLON = "yyyy-MM-dd HH:mm:ss";
        public const string FORMAT_DATETIME_HHMMSS_COLON = "HH:mm:ss";

        public const string WS_FN_CODE_PROFILE = "PROFILE";

        public enum SystemName
        {
            ATS, BPS
        }
    }
}
